package com.bizark.rpc.systeminfo.service.impl;

import com.bizark.rpc.common.tool.SystemInfoUtil;
import com.bizark.rpc.systeminfo.service.SystemInfoService;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service
public class SystemInfoServiceImpl implements SystemInfoService {



    @Override
    public Map<String, Object> getHostInfo() {
        return SystemInfoUtil.getHostInfo();
    }

    @Override
    public Map<String, Object> getCpuInfo() {
        return SystemInfoUtil.getCpuInfo();
    }

    @Override
    public Map<String, Object> getMomoryInfo() {
        return SystemInfoUtil.getMonoryInfo();
    }
}
